<%@ page language="java" pageEncoding="ISO-8859-1"%>

<%@ taglib prefix="s" uri="/struts-tags"%>
<link href="../Admin-CSS/style.css" rel="stylesheet" type="text/css" />


<s:form action="updateSystemMaintenance.htm" method="post" theme="simple">
	<table width="100%">
		<tbody>
			<tr>
				<td height="40" colspan="2" class="sectionheading bottom-border">
					System Maintenance
				</td>
			</tr>
			<tr>
				<td class="verdana12blacknormal">
					Set the background process preferences for optimizing your system database and removing old and unnecessary data.				</td>
			</tr>
			<tr>
				<td>
					<s:actionerror cssClass="note-red"/>
					<s:actionmessage cssClass="note-red"/>
					<s:fielderror cssClass="note-red"/>
				</td>
			</tr>
			<tr>
				<td>
					<table>
						<tbody>
							<tr>
								<td>
									<b class="verdana12darkgreybold">Prune Old Auctions</b>								</td>
							</tr>
							<tr>
								<td align="right" class="verdana12blacknormal">
									Set preferences to delete ended auctions older than:								</td>

								<td class="verdana12blacknormal">
									<s:textfield name="systemMaintenance.oldAuctions" cssClass="Textfiled-border" value="%{systemMaintenance.oldAuctions}" size="10" />

									days
							  </td>
							</tr>
						</tbody>
					</table>

				</td>
			</tr>
			<tr>
				<td>
				</td>
			</tr>

			<tr>
				<td>
					<table>
						<tbody>
							<tr>
								<td>
									<b class="verdana12darkgreybold">Prune Pending Users</b>								</td>
								<td>

								</td>
							</tr>
							<tr>
								<td class="verdana12blacknormal">
									Set preferences to delete pending and unconfirmed users older than:								</td>
								<td class="verdana12blacknormal">
									<s:textfield name="systemMaintenance.pendingUsers" cssClass="Textfiled-border" value="%{systemMaintenance.pendingUsers}" size="10" />
									days
							  </td>
							</tr>
							<tr>
								<td>
									<s:submit type="image" src="../Admin-Images/save_btn.gif"  value="Prune Users" name="B2" />
								</td>
							</tr>
						</tbody>
					</table>
				</td>
			</tr>
		</tbody>
	</table>
	<s:hidden name="systemMaintenance.id" value="%{systemMaintenance.id}" />
</s:form>
